package com.dy.lock.screen.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.lock.screen.dao.ShopDao;
import com.dy.lock.screen.pojo.ShopCategoryInfo;
import com.dy.lock.screen.pojo.ShopInfo;
import com.dy.lock.screen.service.ShopService;

@Service("shopService")
public class ShopServiceImpl implements ShopService {

	@Resource(name = "shopDao")
	private ShopDao shopDao;

	@Override
	public List<ShopInfo> queryPage(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return this.shopDao.queryT(map);
	}

	@Override
	public String queryNewestTitle(String shopId) {
		// TODO Auto-generated method stub
		return this.shopDao.queryNewestTitle(shopId);
	}

	@Override
	public ShopInfo queryByPrimartKey(String id) {
		// TODO Auto-generated method stub
		return this.shopDao.queryByPrimartKey(id);
	}

	@Override
	public List<ShopCategoryInfo> queryShopCategoryList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return this.shopDao.queryShopCategoryList(map);
	}

}
